﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using Luna小店.service;

namespace Luna小店.report
{
    public partial class Reportxxxx : DevExpress.XtraReports.UI.XtraReport
    {
        public Reportxxxx()
        {
            InitializeComponent();
            this.BindData();
        }

        /// <summary>
        /// 数据绑定
        /// </summary>
        private void BindData()
        {


            // 绑定名称
            //this.xrLabelcustomerInformation.DataBindings.Add("Text", DataSource, "customerInformation");        
            //this.xrLabelarea.DataBindings.Add("Text", DataSource, "area");
    
           this.xrLabelkehu.DataBindings.Add("Text", DataSource, "kehu");
           this.xrLabelkehu1.DataBindings.Add("Text", DataSource, "kehu");
           this.xrLabelphone.DataBindings.Add("Text", DataSource, "phone");
           this.xrLabelcustomerInformation.DataBindings.Add("Text", DataSource, "customerInformation");
           this.xrLabelphone1.DataBindings.Add("Text", DataSource, "phone");

            //  运单号
            this.xrBarCodeyundanhao_header.DataBindings.Add("Text", DataSource, "yundanhao");
            //  条形码
            this.xrBarCodeyundanhao.DataBindings.Add("Text", DataSource, "yundanhao");
            //this.xrBarCodeyundanhao
            this.xrLabelyun_dan_hao.DataBindings.Add("Text", DataSource, "yundanhao");


            //this.xrsourcetSortCenterId.DataBindings.Add("Text", DataSource, "sourcetSortCenterId");
            this.xrsourcetSortCenterName.DataBindings.Add("Text", DataSource, "sourcetSortCenterName");
            this.xrtargetSortCenterName.DataBindings.Add("Text", DataSource, "targetSortCenterName");
            this.xroriginalCrossCode.DataBindings.Add("Text", DataSource, "road");
            this.xrsiteName.DataBindings.Add("Text", DataSource, "siteName");
            this.xrtargetSortCenterId.DataBindings.Add("Text", DataSource, "destinationTabletrolleyCode");


        }

    }
}
